package com.itheima.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.util.Date;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author itheima
 * @since 2020-12-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class OperationLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 模块名称
     */
    private String module;

    /**
     * 描述
     */
    private String operation;

    /**
     * 操作用户
     */
    private Long userId;

    /**
     * 请求参数
     */
    private String requestJson;

    /**
     * 返回参数
     */
    private String responseJson;

    /**
     * 创建时间
     */
    private Date createTime;


}
